
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.CureMedicine;
import cn.edu.scau.cmi.hombio.domain.CureMethod;
import cn.edu.scau.cmi.hombio.domain.CureTaskCourse;
import cn.edu.scau.cmi.hombio.domain.CureType;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for CureMethod entities
 * 
 */
public interface CureMethodService {

	/**
	* Save an existing CureMedicine entity
	* 
	 */
	public CureMethod saveCureMethodCureMedicines(Integer id, CureMedicine related_curemedicines);

	/**
	* Delete an existing CureMethod entity
	* 
	 */
	public void deleteCureMethod(CureMethod curemethod);

	/**
	* Delete an existing CureType entity
	* 
	 */
	public CureMethod deleteCureMethodCureType(Integer curemethod_id, Integer related_curetype_id);

	/**
	* Load an existing CureMethod entity
	* 
	 */
	public Set<CureMethod> loadCureMethods();

	/**
	 */
	public CureMethod findCureMethodByPrimaryKey(Integer id_1);

	/**
	* Save an existing CureTaskCourse entity
	* 
	 */
	public CureMethod saveCureMethodCureTaskCourse(Integer id_2, CureTaskCourse related_curetaskcourse);

	/**
	* Delete an existing CureTaskCourse entity
	* 
	 */
	public CureMethod deleteCureMethodCureTaskCourse(Integer curemethod_id_1, Integer related_curetaskcourse_id);

	/**
	* Return all CureMethod entity
	* 
	 */
	public List<CureMethod> findAllCureMethods(Integer startResult, Integer maxRows);

	/**
	* Save an existing CureMethod entity
	* 
	 */
	public void saveCureMethod(CureMethod curemethod_1);

	/**
	* Return a count of all CureMethod entity
	* 
	 */
	public Integer countCureMethods();

	/**
	* Save an existing CureType entity
	* 
	 */
	public CureMethod saveCureMethodCureType(Integer id_3, CureType related_curetype);

	/**
	* Delete an existing CureMedicine entity
	* 
	 */
	public CureMethod deleteCureMethodCureMedicines(Integer curemethod_id_2, Integer related_curemedicines_id);
}